Using the Interactive I/O Macro Capability

Overview: 

The macro capability has two parts.
	- Creating the macro
	- Executing the macro
		- Once
		- Repeatedly

Example:

Start the application as you would normaly do
	Create a macro
	- select a sensor
	- ensure "Log All" is checked
	- execute the commands that you wish to convert to a macro
		- in the lower log window select the commands and their return values
		- click "Add Macro"
	
			In this case I executed the following commands:

0000001 ? Freq?
0000002 ? +1.00000000E+09
0000003 ? MRAT?
0000004 ? DOUB
0000005 ? init:cont?
0000006 ? 1

			Then I selected all of this text and clicked "Add Macro"
			Then I named the macro 'first juan'

		- then I executed the following command

0000007 ? fetch?
0000008 ? -6.77351435E+01

		- then I selected the 'first juan' macro and it appeared in the 
		send command text box and I hit return. The macro was executed.
		At this point my logger looked like this. And that is all there 
		is to it.

0000001 ? Freq?
0000002 ? +1.00000000E+09
0000003 ? MRAT?
0000004 ? DOUB
0000005 ? init:cont?
0000006 ? 1
0000007 ? fetch?
0000008 ? -6.77351435E+01
-------   Start Macro [#first juan#]
0000009 ? Freq?
0000010 ? +1.00000000E+09
0000011 ? MRAT?
0000012 ? DOUB
0000013 ? init:cont?
0000014 ? 1
-------   End Macro [#first juan#]

		- then I select lines 0000007 and 0000008 and clicked "Add Macro"
		and named it 'My Fetch'. I selected it and hit return to test it.
		At this point my log looked like this:

0000001 ? Freq?
0000002 ? +1.00000000E+09
0000003 ? MRAT?
0000004 ? DOUB
0000005 ? init:cont?
0000006 ? 1
0000007 ? fetch?
0000008 ? -6.77351435E+01
-------   Start Macro [#first juan#]
0000009 ? Freq?
0000010 ? +1.00000000E+09
0000011 ? MRAT?
0000012 ? DOUB
0000013 ? init:cont?
0000014 ? 1
-------   End Macro [#first juan#]
-------   Start Macro [#My Fetch#]
0000015 ? fetch?
0000016 ? -6.75554059E+01
-------   End Macro [#My Fetch#]

		- then I selected 'My Fetch' again. Set the up/down counter next
		to the Select Macro combo box to 100. Then I selected the command
		text box and hit Ctrl-T. After a few seconds a text box appeared 
		informing me that I had just executed "My Fetch" 100 times and told
		me the total execution time. Now my log looks like this:

0000001 ? Freq?
0000002 ? +1.00000000E+09
0000003 ? MRAT?
0000004 ? DOUB
0000005 ? init:cont?
0000006 ? 1
0000007 ? fetch?
0000008 ? -6.77351435E+01
-------   Start Macro [#first juan#]
0000009 ? Freq?
0000010 ? +1.00000000E+09
0000011 ? MRAT?
0000012 ? DOUB
0000013 ? init:cont?
0000014 ? 1
-------   End Macro [#first juan#]
-------   Start Macro [#My Fetch#]
0000015 ? fetch?
0000016 ? -6.75554059E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000017 ? fetch?
0000018 ? -6.80566347E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000019 ? fetch?
0000020 ? -6.74521889E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000021 ? fetch?
0000022 ? -6.80121968E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000023 ? fetch?
0000024 ? -6.84803406E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000025 ? fetch?
0000026 ? -6.73960940E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000027 ? fetch?
0000028 ? -6.71216787E+01
-------   End Macro [#My Fetch#]

:
:
: repeated several times
:
:

-------   Start Macro [#My Fetch#]
0000205 ? fetch?
0000206 ? -6.99138210E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000207 ? fetch?
0000208 ? -7.19767078E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000209 ? fetch?
0000210 ? -7.19164832E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000211 ? fetch?
0000212 ? -7.10958657E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000213 ? fetch?
0000214 ? -6.83805713E+01
-------   End Macro [#My Fetch#]
-------   Start Macro [#My Fetch#]
0000215 ? fetch?
0000216 ? -6.87804707E+01
-------   End Macro [#My Fetch#]




